<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:ui="http://java.sun.com/jsf/facelets">
   <h:head id="head">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <title>Welcome to JSF 2.0 on the Google AppEngine!</title>
   </h:head>
   <h:body id="body">
   
#{cargaCursoBean.curso.nombre}
<h1>Alumnos</h1>

<ui:repeat var="alumno" value="#{cargaCursoBean.curso.alumnos}">
#{alumno}
</ui:repeat>
<h1>Examenes</h1>

<ui:repeat var="examen" value="#{cargaCursoBean.curso.examenes}">
#{alumno}
</ui:repeat>
<h:form>
<h:dataTable var="alumno" value="#{cargaCursoBean.curso.alumnos}" 
border="1">
<h:column>
#{alumno.id}
</h:column>
<h:column>
#{alumno.nombre}
</h:column>
<h:column>
<h:inputText value="#{alumno.nombre}"></h:inputText>

</h:column>

</h:dataTable>	
<h:commandButton value="graba" action="#{cargaCursoBean.grabar}"/>
</h:form>
	
      
      
   </h:body>
</html>